package com.webware.one.server.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity(name = "Passport")
@Table(name = "T_PASSPORT")
public class Passport extends AbstractEntity {
    /** Серия */
    @Column(nullable = false, length = 10)
    private String serie;

    /** Номер */
    @Column(nullable = false, length = 10)
    private String number;

    /** Кем выдан */
    @Column(nullable = false, length = 10)
    private String org;

    /** Когда выдан */
    @Column(nullable = false, length = 10)
    private Date date;

    public String getSerie() {
	return serie;
    }

    public void setSerie(String serie) {
	this.serie = serie;
    }

    public String getNumber() {
	return number;
    }

    public void setNumber(String number) {
	this.number = number;
    }

    public String getOrg() {
	return org;
    }

    public void setOrg(String org) {
	this.org = org;
    }

    public Date getDate() {
	return date;
    }

    public void setDate(Date date) {
	this.date = date;
    }
}
